import java.io.*;
import java.util.Scanner;


public class FileProcess {
	String fileName;
	String deCode;
	String article="";
	
	public FileProcess(String fileName,String deCode){
		this.fileName = fileName;
		this.deCode = deCode;
	}
	
	public String doReader() { 
		Scanner reader;
		String readLine;	
		try {
			reader = new Scanner(new FileReader(fileName));

			do {
				readLine = reader.next();
				if (readLine.trim().length() != 0)
					article += readLine+"\t";

			} while (reader.hasNext());
			reader.close();	
			return article;
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return null;
	}
}
